package com.study.samsung.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

//订单详情表实体类
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDetails {
    private Integer dxid;//订单详情id

    private BigDecimal dxprice;//订单价格
    private Integer gnumber;

    private Integer sxid;
    private Integer did;

    private Detail detail;

    public OrderDetails(Integer dxid, BigDecimal dxprice, Integer gnumber, Integer sxid, Integer did) {
        this.dxid = dxid;
        this.dxprice = dxprice;
        this.gnumber = gnumber;
        this.sxid = sxid;
        this.did = did;
    }
}
